<html>
<head>
<title>TestNG:  web自动化测试</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />

<style type="text/css">
.log { display: none;} 
.stack-trace { display: none;} 
</style>
<script type="text/javascript">
<!--
function flip(e) {
  current = e.style.display;
  if (current == 'block') {
    e.style.display = 'none';
    return 0;
  }
  else {
    e.style.display = 'block';
    return 1;
  }
}

function toggleBox(szDivId, elem, msg1, msg2)
{
  var res = -1;  if (document.getElementById) {
    res = flip(document.getElementById(szDivId));
  }
  else if (document.all) {
    // this is the way old msie versions work
    res = flip(document.all[szDivId]);
  }
  if(elem) {
    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
  }

}

function toggleAllBoxes() {
  if (document.getElementsByTagName) {
    d = document.getElementsByTagName('div');
    for (i = 0; i < d.length; i++) {
      if (d[i].className == 'log') {
        flip(d[i]);
      }
    }
  }
}

// -->
</script>

</head>
<body>
<h2 align='center'>web自动化测试</h2><table border='1' align="center">
<tr>
<td>Tests passed/Failed/Skipped:</td><td>17/0/0</td>
</tr><tr>
<td>Started on:</td><td>Sun Dec 13 10:16:21 CST 2020</td>
</tr>
<tr><td>Total time:</td><td>81 seconds (81161 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
<td>Excluded groups:</td><td></td>
</tr>
</table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/>
<table width='100%' border='1' class='invocation-passed'>
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td>
<td><b>Instance</b></td>
</tr>
<tr>
<td title='com.webauto.test_case.Test5_BSInformation_Add.bsInformation_Add()'><b>bsInformation_Add</b><br>Test class: com.webauto.test_case.Test5_BSInformation_Add<br>Parameters: test-005, case-013, 白事网资讯正确新增资讯, 1, {
"标题":"测试标题",
"首图":"C:\\Users\\lkk\\Pictures\\test.jpg",
"首页展示":"不显示",
"展现形式":"竖排",
"资讯内容":"测试资讯内容",
"排序码":"0"
}, xPath://*[@id="exampleTable"]/tbody/tr[1]/td[4], 测试标题, pass</td>
<td></td>
<td>5</td>
<td>com.webauto.test_case.Test5_BSInformation_Add@68999068</td></tr>
<tr>
<td title='com.webauto.test_case.Test5_BSInformation_Add.bsInformation_Add()'><b>bsInformation_Add</b><br>Test class: com.webauto.test_case.Test5_BSInformation_Add<br>Parameters: test-005, case-014, 白事网资讯不填写标题新增资讯, 0, {
"标题":"",
"首图":"C:\\Users\\lkk\\Pictures\\test.jpg",
"首页展示":"不显示",
"展现形式":"竖排",
"资讯内容":"测试资讯内容",
"排序码":"0"
}, id:title-error, 必填, pass</td>
<td></td>
<td>4</td>
<td>com.webauto.test_case.Test5_BSInformation_Add@68999068</td></tr>
<tr>
<td title='com.webauto.test_case.Test5_BSInformation_Add.bsInformation_Add()'><b>bsInformation_Add</b><br>Test class: com.webauto.test_case.Test5_BSInformation_Add<br>Parameters: test-005, case-015, 白事网资讯不上传首图新增资讯, 0, {
"标题":"测试标题",
"首图":"",
"首页展示":"不显示",
"展现形式":"竖排",
"资讯内容":"测试资讯内容",
"排序码":"0"
}, id:imgurl-error, 必填, pass</td>
<td></td>
<td>4</td>
<td>com.webauto.test_case.Test5_BSInformation_Add@68999068</td></tr>
<tr>
<td title='com.webauto.test_case.Test5_BSInformation_Add.bsInformation_Add()'><b>bsInformation_Add</b><br>Test class: com.webauto.test_case.Test5_BSInformation_Add<br>Parameters: test-005, case-016, 白事网资讯不填写内容新增资讯, -1, {
"标题":"测试标题",
"首图":"C:\\Users\\lkk\\Pictures\\test.jpg",
"首页展示":"不显示",
"展现形式":"竖排",
"资讯内容":"",
"排序码":"0"
}, xPath:/html/body/div[9]/div, 请输入资讯内容, pass</td>
<td></td>
<td>4</td>
<td>com.webauto.test_case.Test5_BSInformation_Add@68999068</td></tr>
<tr>
<td title='com.webauto.test_case.Test5_BSInformation_Add.bsInformation_Add()'><b>bsInformation_Add</b><br>Test class: com.webauto.test_case.Test5_BSInformation_Add<br>Parameters: test-005, case-017, 白事网资讯不填写排序码新增资讯, 0, {
"标题":"测试标题",
"首图":"C:\\Users\\lkk\\Pictures\\test.jpg",
"首页展示":"不显示",
"展现形式":"竖排",
"资讯内容":"测试资讯内容",
"排序码":""
}, id:sortno-error, 必填, pass</td>
<td></td>
<td>4</td>
<td>com.webauto.test_case.Test5_BSInformation_Add@68999068</td></tr>
<tr>
<td title='com.webauto.test_case.Test3_ClientManager_Details.clientManager_Details()'><b>clientManager_Details</b><br>Test class: com.webauto.test_case.Test3_ClientManager_Details<br>Parameters: test-003, case-011, 查看客户详情, 1, {}, xPath://*[@id="app"]/tbody/tr[2]/td[2]/span, 10000026, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test3_ClientManager_Details@619713e5</td></tr>
<tr>
<td title='com.webauto.test_case.Test4_ClientManager_Paging.clientManager_Paging()'><b>clientManager_Paging</b><br>Test class: com.webauto.test_case.Test4_ClientManager_Paging<br>Parameters: test-004, case-012, 跳转到下一页, 1, {}, className:pagination-info, 21, pass</td>
<td></td>
<td>1</td>
<td>com.webauto.test_case.Test4_ClientManager_Paging@708f5957</td></tr>
<tr>
<td title='com.webauto.test_case.Test2_ClientManager_Search.clientManager_Search()'><b>clientManager_Search</b><br>Test class: com.webauto.test_case.Test2_ClientManager_Search<br>Parameters: test-002, case-005, 客户管理界面输入存在昵称搜索, 1, {
"选项":"昵称",
"搜索关键字":"23"
}, xPath://*[@id="exampleTable"]/tbody/tr/td[1], 23, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test2_ClientManager_Search@2c767a52</td></tr>
<tr>
<td title='com.webauto.test_case.Test2_ClientManager_Search.clientManager_Search()'><b>clientManager_Search</b><br>Test class: com.webauto.test_case.Test2_ClientManager_Search<br>Parameters: test-002, case-006, 客户管理界面输入不存在昵称搜索, 0, {
"选项":"昵称",
"搜索关键字":"123"
}, cssSelector:td[colspan='9'], 没有找到匹配的记录, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test2_ClientManager_Search@2c767a52</td></tr>
<tr>
<td title='com.webauto.test_case.Test2_ClientManager_Search.clientManager_Search()'><b>clientManager_Search</b><br>Test class: com.webauto.test_case.Test2_ClientManager_Search<br>Parameters: test-002, case-007, 客户管理界面输入存在id搜索, 1, {
"选项":"ID",
"搜索关键字":"23"
}, xPath://*[@id="exampleTable"]/tbody/tr[1]/td[2], 23, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test2_ClientManager_Search@2c767a52</td></tr>
<tr>
<td title='com.webauto.test_case.Test2_ClientManager_Search.clientManager_Search()'><b>clientManager_Search</b><br>Test class: com.webauto.test_case.Test2_ClientManager_Search<br>Parameters: test-002, case-008, 客户管理界面输入不存在id搜索, 0, {
"选项":"ID",
"搜索关键字":"123"
}, cssSelector:td[colspan='9'], 没有找到匹配的记录, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test2_ClientManager_Search@2c767a52</td></tr>
<tr>
<td title='com.webauto.test_case.Test2_ClientManager_Search.clientManager_Search()'><b>clientManager_Search</b><br>Test class: com.webauto.test_case.Test2_ClientManager_Search<br>Parameters: test-002, case-009, 客户管理界面输入存在手机号搜索, 1, {
"选项":"手机号",
"搜索关键字":"136255697"
}, xPath://*[@id="exampleTable"]/tbody/tr[1]/td[4], 136255697, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test2_ClientManager_Search@2c767a52</td></tr>
<tr>
<td title='com.webauto.test_case.Test2_ClientManager_Search.clientManager_Search()'><b>clientManager_Search</b><br>Test class: com.webauto.test_case.Test2_ClientManager_Search<br>Parameters: test-002, case-010, 客户管理界面输入不存在手机号搜索, 0, {
"选项":"手机号",
"搜索关键字":"13625569712"
}, cssSelector:td[colspan='9'], 没有找到匹配的记录, pass</td>
<td></td>
<td>2</td>
<td>com.webauto.test_case.Test2_ClientManager_Search@2c767a52</td></tr>
<tr>
<td title='com.webauto.test_case.Test1_LoginCase.login()'><b>login</b><br>Test class: com.webauto.test_case.Test1_LoginCase<br>Parameters: test-001, case-001, 正确登录, 1, {
"账号":"admin",
"密码":"1",
"验证码":"1234"
}, , localhost:8080/index, pass</td>
<td></td>
<td>0</td>
<td>com.webauto.test_case.Test1_LoginCase@130161f7</td></tr>
<tr>
<td title='com.webauto.test_case.Test1_LoginCase.login()'><b>login</b><br>Test class: com.webauto.test_case.Test1_LoginCase<br>Parameters: test-001, case-002, 不输入账号登录, 0, {
"账号":"",
"密码":"1",
"验证码":"1234"
}, cssSelector:div[class='layui-layer-content'], 请输入登录账号, pass</td>
<td></td>
<td>1</td>
<td>com.webauto.test_case.Test1_LoginCase@130161f7</td></tr>
<tr>
<td title='com.webauto.test_case.Test1_LoginCase.login()'><b>login</b><br>Test class: com.webauto.test_case.Test1_LoginCase<br>Parameters: test-001, case-003, 不输入密码登录, 0, {
"账号":"admin",
"密码":"",
"验证码":"1234"
}, cssSelector:div[class='layui-layer-content'], 请输入密码, pass</td>
<td></td>
<td>1</td>
<td>com.webauto.test_case.Test1_LoginCase@130161f7</td></tr>
<tr>
<td title='com.webauto.test_case.Test1_LoginCase.login()'><b>login</b><br>Test class: com.webauto.test_case.Test1_LoginCase<br>Parameters: test-001, case-004, 输入错误密码登录, 0, {
"账号":"admin",
"密码":"123456",
"验证码":"1234"
}, cssSelector:div[class='layui-layer-content'], 用户或密码错误, pass</td>
<td></td>
<td>1</td>
<td>com.webauto.test_case.Test1_LoginCase@130161f7</td></tr>
</table><p>
</body>
</html>